package net.lab1024.sa.admin.module.fabricmaterials.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * lyy 更新表单
 *
 * @Author lyy
 * @Date 2024-11-12 22:01:35
 * @Copyright lyy
 */

@Data
public class FabricMaterialsUpdateForm {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "id 不能为空")
    private Integer id;

    @Schema(description = "物料代码",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "物料代码 不能为空")
    private String fabricMaterialCode;
    @Schema(description = "物料数量",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "物料数量 不能为空")
    private Integer quantity;





}